<?php
use App\Http\Controllers\Api\CommonController;
use App\Http\Controllers\Api\SyncDataController;
use App\V3\V3_2_7\Controllers\AdminController;
use App\V3\V3_2_7\Controllers\AllocateController;
use App\V3\V3_2_7\Controllers\AnnounceController;
use App\V3\V3_2_7\Controllers\BuyStorageSpaceController;
use App\V3\V3_2_7\Controllers\CheckController;
use App\V3\V3_2_7\Controllers\CheckStorageManageController;
use App\V3\V3_2_7\Controllers\CommonDetailController;
use App\V3\V3_2_7\Controllers\CommonsController;
use App\V3\V3_2_7\Controllers\CompanyClassController;
use App\V3\V3_2_7\Controllers\ContentTagsController;
use App\V3\V3_2_7\Controllers\CreateExpressTemplatesController;
use App\V3\V3_2_7\Controllers\CrontabController;
use App\V3\V3_2_7\Controllers\DataFieldController;
use App\V3\V3_2_7\Controllers\DeliveryGoodsController;
use App\V3\V3_2_7\Controllers\DeliverySlipController;
use App\V3\V3_2_7\Controllers\DispatchListController;
use App\V3\V3_2_7\Controllers\DriverController;
use App\V3\V3_2_7\Controllers\ExpressController;
use App\V3\V3_2_7\Controllers\ExpressTempleteController;
use App\V3\V3_2_7\Controllers\FeedBackController;
use App\V3\V3_2_7\Controllers\HcMaterielClassController;
use App\V3\V3_2_7\Controllers\HcMaterielTypeController;
use App\V3\V3_2_7\Controllers\HcUploadController;
use App\V3\V3_2_7\Controllers\HelpController;
use App\V3\V3_2_7\Controllers\ImageLabelController;
use App\V3\V3_2_7\Controllers\KuaidiController;
use App\V3\V3_2_7\Controllers\LocationController;
use App\V3\V3_2_7\Controllers\LogController;
use App\V3\V3_2_7\Controllers\LoginController;
use App\V3\V3_2_7\Controllers\MaterielClassController;
use App\V3\V3_2_7\Controllers\MaterielController;
use App\V3\V3_2_7\Controllers\MaterielTypeController;
use App\V3\V3_2_7\Controllers\MedicalDeliverOrderController;
use App\V3\V3_2_7\Controllers\MedicalDeliveryOrderController;
use App\V3\V3_2_7\Controllers\MessBoardController;
use App\V3\V3_2_7\Controllers\ModuleController;
use App\V3\V3_2_7\Controllers\NotifyController;
use App\V3\V3_2_7\Controllers\OperationLogController;
use App\V3\V3_2_7\Controllers\OrderController;
use App\V3\V3_2_7\Controllers\OssStorageSettingController;
use App\V3\V3_2_7\Controllers\OutAnimalTagController;
use App\V3\V3_2_7\Controllers\OverflowBreakageController;
use App\V3\V3_2_7\Controllers\PackageController;
use App\V3\V3_2_7\Controllers\PictureEditingController;
use App\V3\V3_2_7\Controllers\ProductController;
use App\V3\V3_2_7\Controllers\QuotationGoodsController;
use App\V3\V3_2_7\Controllers\QuotationNoController;
use App\V3\V3_2_7\Controllers\ReceiptController;
use App\V3\V3_2_7\Controllers\RegionController;
use App\V3\V3_2_7\Controllers\RoleController;
use App\V3\V3_2_7\Controllers\SalesReturnController;
use App\V3\V3_2_7\Controllers\SealManageController;
use App\V3\V3_2_7\Controllers\SellController;
use App\V3\V3_2_7\Controllers\SettingController;
use App\V3\V3_2_7\Controllers\ShareSettingController;
use App\V3\V3_2_7\Controllers\ShelfController;
use App\V3\V3_2_7\Controllers\StatisticsController;
use App\V3\V3_2_7\Controllers\StorageController;
use App\V3\V3_2_7\Controllers\StorageManageController;
use App\V3\V3_2_7\Controllers\SupplierCustomerController;
use App\V3\V3_2_7\Controllers\SystemConfigController;
use App\V3\V3_2_7\Controllers\TallyClassController;
use App\V3\V3_2_7\Controllers\TallyController;
use App\V3\V3_2_7\Controllers\TextImageController;
use App\V3\V3_2_7\Controllers\TextImageTemplatesController;
use App\V3\V3_2_7\Controllers\UploadController;
use App\V3\V3_2_7\Controllers\UsersController;
use App\V3\V3_2_7\Controllers\VersionsController;
use App\V3\V3_2_7\Controllers\VipSettingController;
use App\V3\V3_2_7\Controllers\CustomTagController;
use Illuminate\Support\Facades\Route;
use App\V3\V3_2_7\Controllers\DouYinServicePlatformController;
use App\V3\V3_2_7\Controllers\SportController;
use App\V3\V3_2_7\Controllers\SystemSettingsController;
use App\V3\V3_2_7\Controllers\BarterController;
use App\V3\V3_2_7\Controllers\CloudController;
use App\V3\V3_2_7\Controllers\CloudCallbackController;
use App\V3\V3_2_7\Controllers\SellReportController;
use App\V3\V3_2_7\Controllers\CustomerServiceController;
use App\V3\V3_2_7\Controllers\MaterielSpecTempContrller;
use App\V3\V3_2_7\Controllers\ApplicationFormController;
use App\V3\V3_2_7\Controllers\ScanCodeInStorageController;
use App\V3\V3_2_7\Controllers\ScanCodeOutStorageController;
use App\V3\V3_2_7\Controllers\ScanCodeAllocateStorageController;
use App\V3\V3_2_7\Controllers\OperMainAccountController;
use App\V3\V3_2_7\Controllers\EmployeeStatusController;
use App\V3\V3_2_7\Controllers\DefaultIndexController;
use App\V3\V3_2_7\Controllers\SmPhotoAlbumController;
use App\V3\V3_2_7\Controllers\LoginLogController;
use App\V3\V3_2_7\Controllers\StorageShelfLocationController;
use App\V3\V3_2_7\Controllers\ShelfLocationTagController;
use App\V3\V3_2_7\Controllers\LocationLogController;
use App\V3\V3_2_7\Controllers\LocationAnimalController;
use App\V3\V3_2_7\Controllers\AlbumImgTitleController;
Route::get('end_experience', [CrontabController::class, 'endExperience']);//结束vip体验 - 脚步
Route::get('monitoring_storage_status', [CrontabController::class, 'accountStorageStatus']);//实时监控客户存储空间状态 - 脚步
Route::get('serial_number_mainId', [CrontabController::class, 'serialNumberAddMainId']);//给序列号批量添加主账号id - 脚步
Route::get('trans_storage_alert_status', [CrontabController::class, 'transStorageAlertStatus']);//库存预警标记转换 - 脚步
Route::get('storage_batch_alert_message', [CrontabController::class, 'storageBatchPuchAlterMessage']);//批次号推送预警消息 - 脚步
Route::get('statistics_file_size', [CrontabController::class, 'statisticsFileSize']);//统计客户上传文件占用空间 - 脚步
Route::get('debt_reminder_message', [CrontabController::class, 'debtReminderMessage']);//欠款根据设置提醒时间推送消息(销售/退换货/采购) - 脚步
Route::get('buyer_vip_space_message', [CrontabController::class, 'buyerVipSpaceMessage']);//购买vip存储空间到期消息推送 - 脚步
Route::get('upd_goods_img', [CrontabController::class, 'updGoodsImg']);//修改商品带逗号的图片路径 - 脚步
Route::get('del_upload_img_script', [CrontabController::class, 'delUploadImgScript']);//删除垃圾图片 - 脚步
Route::get('del_warehouse_virtual_inventory', [CrontabController::class, 'delWarehouseVirtualInventory']);//仓库虚拟库位归零 - 脚步
Route::get('del_oper_main_account', [CrontabController::class, 'delOperMainAccount']);//删除主账号使用负数库存表记录 - 脚步
Route::get('sync_shelf', [SyncDataController::class, 'syncShelf']);//同步库位 - 脚步
Route::get('sync_location', [SyncDataController::class, 'syncLocation']);//同步库位 - 脚步
Route::post('sync_test', [SyncDataController::class, 'syncTest']);// - 脚步
Route::post('sync_module', [SyncDataController::class, 'syncModule']);//迁移子账号权限 - 脚步
Route::post('get_main_account', [CommonController::class, 'getMainAccount']);//迁移子账号权限 - 脚步
Route::post('get_api_version_no', [CommonController::class, 'getApiVersionNo']);//查询接口版本号 - 脚步
Route::post('set_user_account', [CommonController::class, 'setUserAccount']);//批量添加用户账号 - 脚步
Route::post('get_customer_servicer_printer_url', [CommonsController::class, 'getCustomerServicerPrinterUrlInfo']);//查询客服与打印机购买链接信息
Route::post('get_default_index_interface', [DefaultIndexController::class, 'index']);//首页一次性请求接口
Route::group(['middleware' => ['api']], function () {
    //登录部分
    Route::post('send_code', [LoginController::class, 'sendCode']);//发送验证码
    Route::post('login', [LoginController::class, 'login']);//账号登录
    Route::get('download', [CommonController::class, 'download']);//下载库存导入模
    Route::post('retrieve_account', [LoginController::class, 'retrieveAccount']);//找回账号
    Route::get('class_temp_download',[CommonsController::class,'classTempDownload']);//导出快递模板
    Route::get('log_storage_download',[CommonController::class,'logStorageDownload']);//导入出入记录模板
    Route::get('express_temp_download',[CreateExpressTemplatesController::class,'download']);//快递模板下载
    Route::get('shelf_download',[CommonController::class,'shelfDownload']);//货架模板
    Route::get('location_download',[CommonController::class,'locationDownload']);//货架模板
    //云打印，回调接口
    Route::post('cloud_callback_printer_job', [CloudCallbackController::class, 'printerJob']);//打印任务回调
    Route::post('cloud_callback_device', [CloudCallbackController::class, 'device']);//打印任务打印失败回调
});

/**
 * check_is_upkeep:系统升级维护提示
 * enable_cross:防跨域
 */
//'login_limit',
Route::group(['middleware'=>['check_is_upkeep', 'enable_cross']],function() {
    Route::post('upload_file', [UploadController::class, 'upload']);//单图上传
    Route::post('kuaidi_list', [KuaidiController::class, 'list']);//快递公司列表
    Route::post('new_kuaidi_list', [KuaidiController::class, 'newList']);//快递公司列表
    Route::post('read_batch_without_token', [CommonController::class, 'readBatch']);//自动识别tokenkai
    Route::post('get_log_info', [CommonController::class, 'getLogInfo']);//无token出入库记录详情
    Route::post('get_barter_info', [CommonController::class, 'barterDetail']);//无token退换货详情
    Route::get('get_materiel_info', [CommonController::class, 'getMaterielInfo']);//无token采购货详情

    Route::post('log_off', [UsersController::class, 'logOff']);//注销
    Route::post('set_batch_title', [SettingController::class, 'setBatchTitle']);//识别批次号
    Route::post('direct_in_storage', [StorageManageController::class, 'directInStorage']);//直接入库-未使用
    Route::post('storage_manage_in', [StorageManageController::class, 'storageManageIn']);//直接入库-库位模式
    Route::post('warehouse_storage_manage_in', [StorageManageController::class, 'warehouseStorageManageIn']);//直接入库-仓库模式
    Route::post('direct_out_storage', [StorageManageController::class, 'directOutStorage']);//直接出库-库位模式
    Route::post('warehouse_storage_manage_out', [StorageManageController::class, 'warehouseStorageManageOut']);//直接出库-仓库模式
    Route::post('trans_out_way', [AdminController::class, 'transOutWay']);//出库方式转换
    Route::post('set_alert_num', [StorageManageController::class, 'setAlertNum']);//设置低库存预警数
    Route::post('read_batch_no', [StorageManageController::class, 'readBatchNo']);//识别批次号
    Route::post('one_key_clear', [StorageManageController::class, 'oneKeyClear']);//一键清空庫存(倉庫庫存，商品信息，分類信息)
    Route::post('read_address', [CommonController::class, 'readAddress']);//智能识别地址信息
    Route::post('barcode', [CommonController::class, 'generateBarcode']);//生成条形码
    Route::post('region_list', [RegionController::class, 'list']);//省市区列表

    Route::post('del_storage_manage', [StorageManageController::class, 'del']);//删除库存-仓库、库位模式
    Route::post('batch_del_storage_manage', [StorageManageController::class, 'batchDel']);//批量删除库存-仓库、库位模式
    //物料商品分类管理
    Route::post('materiel_class_select', [MaterielClassController::class, 'select']);//物料商品分类下拉列表
    Route::post('materiel_class_add', [MaterielClassController::class, 'add']);//新建物料商品分类
    Route::post('materiel_class_del', [MaterielClassController::class, 'del']);//删除指定物料商品分类
    Route::post('materiel_class_edit', [MaterielClassController::class, 'edit']);//修改指定商品分类信息
    Route::post('materiel_class_list', [MaterielClassController::class, 'list']);//商品分类列表
    Route::post('materiel_class_rand_no', [MaterielClassController::class, 'randNo']);//商品分类随机编号

    //物料商品类型管理
    Route::post('materiel_type_add', [MaterielTypeController::class, 'add']);//新建物料商品类型
    Route::post('materiel_type_del', [MaterielTypeController::class, 'del']);//删除物料商品信息
    Route::post('materiel_type_edit', [MaterielTypeController::class, 'edit']);//修改商品信息
    Route::post('materiel_type_info', [MaterielTypeController::class, 'info']);//指定物料商品信息
    Route::post('materiel_package_info', [MaterielTypeController::class, 'packageInfo']);//套件信息
    Route::post('materiel_type_select', [MaterielTypeController::class, 'select']);//物料列表
    Route::post('materiel_type_list', [MaterielTypeController::class, 'list']);//物料列表-含当前库存信息
    Route::post('materiel_type_rand_no', [MaterielTypeController::class, 'randNo']);//物料商品随机编号
    Route::post('edit_materiel_cost', [MaterielTypeController::class, 'editMaterielCost']);//入库
    Route::post('materiel_type_sync_edit', [MaterielTypeController::class, 'syncEdit']);//同步修改商品信息
    Route::post('same_name_goods_list', [MaterielTypeController::class, 'sameNameGoodsList']);//同规格商品列表
    Route::post('get_bar_code', [MaterielTypeController::class, 'getBarcode']);//生成条形码
    Route::post('choose_goods_list', [MaterielTypeController::class, 'chooseGoodsList']);//选择库存商品列表
    Route::post('select_goods_list', [MaterielTypeController::class, 'selectGoodsList']);//选择无库存商品列表
    //物料商品规格模板管理
    Route::post('materiel_spce_add', [MaterielSpecTempContrller::class, 'add']);//物料商品规格添加
    Route::post('materiel_spce_upd', [MaterielSpecTempContrller::class, 'edit']);//物料商品规格修改
    Route::post('materiel_spce_del', [MaterielSpecTempContrller::class, 'del']);//物料商品规格删除
    Route::post('materiel_spce_list', [MaterielSpecTempContrller::class, 'list']);//物料商品规格列表
    //员工管理
    Route::post('user_list', [AdminController::class, 'userList']);//子账号列表
    Route::post('trans_status', [AdminController::class, 'transStatus']);//启禁用账号状态
    Route::post('reset_pwd', [AdminController::class, 'resetPwd']);//重置子账号密码
    Route::post('del_user', [AdminController::class, 'delUser']);//删除子账号
    Route::post('add_user', [AdminController::class, 'addUser']);//新建子账号
    Route::post('edit_user_info', [AdminController::class, 'editUserInfo']);//修改子账号基础信息
    Route::post('set_user_permission', [AdminController::class, 'setUser']);//设置子账号权限信息
    Route::post('get_user_permission', [AdminController::class, 'getUserPermission']);//获取子账号可用权限信息
    Route::post('user_login_permissions', [AdminController::class, 'userPermissions']);//登陆后获取用户权限
    Route::post('start_to_experience', [AdminController::class, 'startToExperience']);//开启VIP体验版
    Route::post('get_operating_record_list', [OperationLogController::class, 'getOperatingRecordList']);//个人操作记录
    //存储空间设置
    Route::post('list', [OssStorageSettingController::class, 'list']);//可购买存储空间配置列表

    //账户-设置
    Route::post('change_mobile', [AdminController::class, 'changeMobile']);//修改手机号
    Route::post('modify_userinfo', [AdminController::class, 'modifyUserinfo']);//修改用户信息
    Route::post('change_password', [AdminController::class, 'changePassword']);//修改密码
    Route::post('user_center', [AdminController::class, 'userCenter']);//个人中心
    Route::post('relieve_wechat_bind', [AdminController::class, 'relieveWechatBind']);//解除微信绑定
    Route::post('wechat_bind', [AdminController::class, 'wechatBind']);//绑定微信
    Route::post('invite_list', [AdminController::class, 'inviteList']);//被邀请人列表
    Route::post('set_pwd', [AdminController::class, 'setPwd']);//设置密码
    Route::post('unbind_gz_wechat', [AdminController::class, 'unbindGzWechat']);//解除公众号微信
    //角色管理
    Route::post('role_add', [RoleController::class, 'add']);//添加角色
    Route::post('role_del', [RoleController::class, 'del']);//删除角色
    Route::post('role_edit', [RoleController::class, 'edit']);//修改角色信息及权限信息
    Route::post('role_list', [RoleController::class, 'list']);//角色列表
    Route::post('role_detail', [RoleController::class, 'detail']);//角色权限详细

    //模块管理
    Route::post('add_module', [ModuleController::class, 'add']);//增加
    Route::post('del_module', [ModuleController::class, 'del']);//删除
    Route::post('edit_module', [ModuleController::class, 'edit']);//修改
    Route::post('module_list', [ModuleController::class, 'list']);//权限信息列表
    Route::post('module_select', [ModuleController::class, 'select']);//一级权限模块列表-下拉

    //操作日志
    Route::post('log_list', [OperationLogController::class, 'logList']);

    //供应商客户
    Route::post('supplier_customer_add', [SupplierCustomerController::class, 'add']);
    Route::post('supplier_customer_edit', [SupplierCustomerController::class, 'edit']);
    Route::post('supplier_customer_del', [SupplierCustomerController::class, 'del']);
    Route::post('supplier_customer_list', [SupplierCustomerController::class, 'index']);
    Route::post('supplier_customer_find', [SupplierCustomerController::class, 'find']);
    Route::post('supplier_customer_select', [SupplierCustomerController::class, 'select']);
    Route::post('is_share_customer', [AdminController::class, 'isShareCustomers']);//是否共享客户
    Route::post('get_share_info', [AdminController::class, 'getShareInfo']);//获取供应商客户共享信息
    Route::post('is_set_as_supplier', [AdminController::class, 'isSetAsSuppliers']);//是否共享客户
    Route::post('supplier_customer_check', [SupplierCustomerController::class, 'check']);//检测客户或供应商是否已存在
    Route::post('choose_company_type', [SupplierCustomerController::class, 'chooseCompanyType']);//选择公司类型
    //公司行业
    Route::post('company_class_list', [CompanyClassController::class, 'index']);
    Route::post('company_class_add', [CompanyClassController::class, 'add']);
    Route::post('company_class_edit', [CompanyClassController::class, 'edit']);
    Route::post('company_class_del', [CompanyClassController::class, 'del']);

    //记账类型
    Route::post('tally_class_list', [TallyClassController::class, 'index']);
    Route::post('tally_class_add', [TallyClassController::class, 'add']);
    Route::post('tally_class_edit', [TallyClassController::class, 'edit']);
    Route::post('tally_class_del', [TallyClassController::class, 'del']);
    Route::post('allocate', [AllocateController::class, 'allocate']);//调拨

    //用户管理
    Route::post('approver_list', [AdminController::class, 'approverList']);//审批人列表
    //反馈
    Route::post('feed_back_list', [FeedBackController::class, 'index']);
    Route::post('feed_back_add', [FeedBackController::class, 'add']);
    Route::post('feed_back_edit', [FeedBackController::class, 'edit']);
    Route::post('feed_back_del', [FeedBackController::class, 'del']);

    //仓库管理
    Route::post('storage_list', [StorageController::class, 'storageList']);//仓库列表
    Route::post('storage_select', [StorageController::class, 'storageSelect']);//仓库列表-下拉框
    Route::post('create_storage', [StorageController::class, 'add']);//创建仓库
    Route::post('edit_storage', [StorageController::class, 'edit']);//修改仓库
    Route::post('del_storage', [StorageController::class, 'delete']);//删除仓库
    Route::post('storage_shelf_location', [StorageController::class, 'storageShelfLocation']);//仓库货架库位列表
    Route::post('edit_storage_staff', [StorageController::class, 'editStorageStaff']);//修改仓库员工
    //审批
    Route::post('check_list', [CheckController::class, 'index']);

    //司机
    Route::post('driver_list', [DriverController::class, 'index']);
    Route::post('driver_find', [DriverController::class, 'find']);
    Route::post('driver_add', [DriverController::class, 'add']);
    Route::post('driver_edit', [DriverController::class, 'edit']);
    Route::post('driver_del', [DriverController::class, 'del']);
    Route::post('driver_select', [DriverController::class, 'select']);

    //版本
    Route::post('version_list', [VersionsController::class, 'index']);
    Route::post('version_add', [VersionsController::class, 'add']);
    Route::post('version_edit', [VersionsController::class, 'edit']);
    Route::post('version_del', [VersionsController::class, 'del']);
    Route::post('version_find', [VersionsController::class, 'find']);

    Route::post('cancel_allocate', [LogController::class, 'cancalAllocate']);

    //套餐
    Route::post('package_list', [PackageController::class, 'list']);//套餐列表
    Route::post('add_package_or_content', [PackageController::class, 'add']);//新建套餐或套餐内容
    Route::post('del_package_or_content', [PackageController::class, 'del']);//删除套餐或套餐内容
    Route::post('content_list', [PackageController::class, 'contentList']);//套餐内容列表
    //Route::post('package_edit', [PackageController::class, 'edit']);//修改套餐
    Route::post('edit_package_or_content', [PackageController::class, 'edit']);//修改套餐或套餐内容
    Route::post('package_storage_list', [PackageController::class, 'packageStorageList']);//指定套餐内容对应的在库信息列表(修改套餐内容用)
    Route::post('package_content_select', [PackageController::class, 'packageContentSelect']);//添加套餐内容-可用库存物料信息
    Route::post('package_out', [PackageController::class, 'packageOut']);//套餐出库
    Route::post('set_package_top', [PackageController::class, 'setPackageTop']);//设置套餐置顶

    //记账
    Route::post('tally_list', [TallyController::class, 'index']);
    Route::post('tally_find', [TallyController::class, 'find']);
    Route::post('tally_add', [TallyController::class, 'add']);
    Route::post('tally_edit', [TallyController::class, 'edit']);
    Route::post('tally_del', [TallyController::class, 'del']);
    Route::post('choose_tally_name', [TallyController::class, 'chooseTallyName']);//选择记账类型
    //库存管理
    Route::post('storage_manage_list', [StorageManageController::class, 'list']);//库存列表-库位模式
    Route::post('warehouse_inventory_model_list', [StorageManageController::class, 'warehouseInventoryList']);//库存列表-仓库模式
    Route::post('new_inventory_model_list', [StorageManageController::class, 'newInventoryList']);//新库存列表-仓库模式
    Route::post('storage_manage_detail', [StorageManageController::class, 'detail']);//库存详情
    Route::post('storage_manage_import', [CommonController::class, 'import']);//导入库存报表
    Route::post('batch_list', [StorageManageController::class, 'batchList']);//批次列表
    Route::post('clear_storage_manage', [StorageManageController::class, 'clear']);//批次列表
    Route::post('batch_materiel_info', [StorageManageController::class, 'batchMaterielInfo']);//批次采购详情
    Route::post('used_serial_list', [StorageManageController::class, 'usedSerialList']);//已使用序列号列表
    Route::post('return_package_store', [StorageManageController::class, 'returnPackageStore']);//组件返仓
    Route::post('storage_manage_serial_list', [StorageManageController::class, 'serialList']);//库存序列号列表
    Route::post('upd_alert_num', [StorageManageController::class, 'updAlertNum']);//修改预警数
    Route::post('del_serial_no', [StorageManageController::class, 'delSerialNo']);//删除序列号
    Route::post('upd_batch_no', [StorageManageController::class, 'updBatchNo']);//修改批次号
    Route::post('choose_batch_list', [StorageManageController::class, 'chooseBatchList']);//选择批次列表
    Route::post('get_identify_storage_code', [CommonsController::class, 'getIdentifyStorageCode']);//识别仓库货架库位码
    Route::post('scan_code_in_storage', [StorageManageController::class, 'scanCodesInStorage']);//扫码入库
    Route::post('fast_out_storage', [StorageManageController::class, 'fastOutStorage']);//扫码出库
    Route::post('code_in_storage', [ScanCodeInStorageController::class, 'codeInStorage']);//扫码入库-孵化基地
    Route::post('code_out_storage', [ScanCodeOutStorageController::class, 'codeOutStorage']);//扫码出库-孵化基地
    Route::post('code_allocate_storage', [ScanCodeAllocateStorageController::class, 'codeAllocateStorage']);//扫码调拨-孵化基地
    //采购
    Route::post('materiel_in_storage', [MaterielController::class, 'materielInStorage']);//采购入库
    Route::post('cancel_materiel', [MaterielController::class, 'cancel']);//撤销
    Route::post('del_materiel', [MaterielController::class, 'del']);//删除采购
    Route::post('materiel_detail', [MaterielController::class, 'detail']);//详细
    Route::post('new_materiel_detail', [MaterielController::class, 'newMaterielDetail']);//新详细
    Route::post('materiel_other_charges_list', [MaterielController::class, 'chargesList']);//其他费用列表
    Route::post('add_materiel_other_charges', [MaterielController::class, 'addCharges']);//添加其他费用
    Route::post('edit_materiel_other_charges', [MaterielController::class, 'editCharges']);//编辑其他费用
    Route::post('last_materiel_detail', [MaterielController::class, 'lastMaterielDetail']);//同步最后采购单详细
    Route::post('add_materiel', [MaterielController::class, 'add']);//新建采购
    Route::post('edit_materiel', [MaterielController::class, 'edit']);//修改采购单
    Route::post('materiel_add_again', [MaterielController::class, 'addAgain']);//重新下单
    Route::post('materiel_list', [MaterielController::class, 'list']);//列表
    Route::post('new_materiel_list', [MaterielController::class, 'newList']);//列表
    Route::post('materiel_pay_history', [MaterielController::class, 'payHistory']);//列表
    Route::post('pay_materiel_money', [MaterielController::class, 'payMaterielMoney']);//付款
    //销售
    Route::post('sell_list', [SellController::class, 'index']);
    Route::post('new_sell_list', [SellController::class, 'newIndex']);
    Route::post('sell_detail', [SellController::class, 'detail']);
    Route::post('new_sell_detail', [SellController::class, 'newSellDetail']);//新销售详情
    Route::post('sell_add', [SellController::class, 'add']);
    Route::post('sell_edit', [SellController::class, 'edit']);
    Route::post('sell_del', [SellController::class, 'del']);
    Route::post('sell_get_money', [SellController::class, 'getMoney']);//收款
    Route::post('sell_add_again', [SellController::class, 'addAgain']);//重新下单
    Route::post('sell_out', [SellController::class, 'out']);//出库
    Route::post('sell_repeal', [SellController::class, 'repeal']);//撤销
    Route::post('sell_prepare_out', [SellController::class, 'prepare']);//预出库
    Route::post('sell_pay_history', [SellController::class, 'payHistory']);//销售单支付记录
    Route::post('materiel_batch_list', [StorageManageController::class, 'materielBatchList']);//商品批次列表
    Route::post('sell_add_batch', [SellController::class, 'sellAddBatch']);//设置批次号
    Route::post('sell_batch_list', [SellController::class, 'sellBatchList']);//查看批次号
    Route::post('sell_batch_edit', [SellController::class, 'sellBatchEdit']);//编辑批次
    Route::post('sell_batch_del', [SellController::class, 'sellBatchDel']);//删除指定批次
    Route::post('sell_express_info', [SellController::class, 'sellExpressInfo']);
    Route::post('sell_other_charges', [SellController::class, 'otherCharges']);//其他费用添加
    Route::post('sell_other_charges_list', [SellController::class, 'otherChargesList']);//其他费用
    Route::post('sell_other_charges_edit', [SellController::class, 'otherChargesEdit']);//其他费用编辑
    Route::post('sell_bind_driver', [SellController::class, 'bindDriver']);//司机绑定
    Route::post('sell_serial_list', [SellController::class, 'sellSerialList']);//序列号列表
    Route::post('add_sell_express_number', [SellController::class, 'addSellExpressNumber']);
    Route::post('last_sell_detail', [SellController::class, 'lastSellDetail']);//同步最后销售单
    Route::post('sell_driver_list', [SellController::class, 'sellDriverList']);//销售司机列表
    Route::post('del_sell_driver', [SellController::class, 'delSellDriver']);//删除销售司机
    //换货-zlf
    Route::post('barter_add', [BarterController::class, 'add']);//新建换货单
    Route::post('barter_edit', [BarterController::class, 'edit']);//修改换货单
    Route::post('barter_del', [BarterController::class, 'del']);//删除换货单
    Route::post('barter_list', [BarterController::class, 'barterReturnList']);//退换货单列表
    Route::post('barter_detail', [BarterController::class, 'detail']);//换货单信息
    Route::post('barter_get_money', [BarterController::class, 'getMoney']);//收款
    Route::post('barter_add_again', [BarterController::class, 'addAgain']);//重新下单
    Route::post('barter_out_in', [BarterController::class, 'barterOutOrIn']);//退换货出入库
    Route::post('barter_repeal', [BarterController::class, 'repeal']);//撤销
    Route::post('barter_pay_history', [BarterController::class, 'payHistory']);//换货单收款记录
    Route::post('barter_other_charges', [BarterController::class, 'addOtherCharges']);//其他费用添加
    Route::post('barter_other_charges_list', [BarterController::class, 'otherChargesList']);//其他费用列表
    Route::post('barter_other_charges_edit', [BarterController::class, 'otherChargesEdit']);//其他费用编辑
    Route::post('barter_bind_driver', [BarterController::class, 'bindDriver']);//司机绑定
    Route::post('add_barter_express_number', [BarterController::class, 'addBarterExpressNumber']);//添加物流信息
    Route::post('barter_driver_list', [BarterController::class, 'barterDriverList']);//换货单司机列表
    Route::post('del_barter_driver', [BarterController::class, 'delBarterDriver']);//删除换货单司机
    Route::post('edit_barter_order', [BarterController::class, 'editSwapOrder']);//只修改换货单（客户发货单）
    //共享设置
    Route::post('share_setting', [ShareSettingController::class, 'shareSetting']);//共享设置
    //共享设置
    Route::post('share_setting_list', [ShareSettingController::class, 'list']);//共享设置
    //报表
    Route::post('statement_income_expend_list', [StatisticsController::class, 'incomeOrExpend']);//收入或支出
    Route::post('statement_materiel', [StatisticsController::class, 'statementMateriel']);//采购报表
    Route::post('statement_materiel_detail', [StatisticsController::class, 'statementMaterielDetail']);//采购报表详细
    Route::post('statement_cost', [StatisticsController::class, 'statementCost']);//成本报表
    Route::post('statement_sell', [StatisticsController::class, 'statementSell']);//销售报表
    Route::post('statement_storage', [StatisticsController::class, 'statementStorage']);//仓库报表
    Route::post('statement_storage_detail', [StatisticsController::class, 'statementStorageDetail']);//仓库详细报表
    Route::post('statement_customer', [StatisticsController::class, 'statementCustomer']);//客户报表
    Route::post('statement_customer_detail', [StatisticsController::class, 'statementCustomerDetail']);//客户报表详细
    Route::post('statistics_sell', [StatisticsController::class, 'sell']);//已销售统计
    Route::post('statistics_stock', [StatisticsController::class, 'stock']);//进货
    Route::post('sell_goods_buy_customer', [StatisticsController::class, 'sellGoodsBuyCustomerList']);//销售商品客户购买详情
    Route::post('sell_report_materiel_name_list', [SellReportController::class, 'materielNameList']);//以物料名维度的销售报表
    Route::post('sell_report_materiel_name_list_export', [SellReportController::class, 'materielNameListExport']);//以物料名维度的销售报表导出excel
    Route::get('sell_report_materiel_name_list_export', [SellReportController::class, 'materielNameListExport']);//以物料名维度的销售报表导出excel
    Route::post('sell_goods_statement', [SellReportController::class, 'sellGoodsStatement']);//指定商品二级销售报表
    Route::post('sell_goods_statement_export', [SellReportController::class, 'sellGoodsStatementExport']);//以物料名维度的二级销售报表导出excel
    Route::get('sell_goods_statement_export', [SellReportController::class, 'sellGoodsStatementExport']);//以物料名维度的二级销售报表导出excel
    Route::post('purchase_statement', [SellReportController::class, 'purchaseStatement']);//一级采购报表（新）
    Route::post('two_purchase_statement', [SellReportController::class, 'twoPurchaseStatement']);//二级采购报表（新）
    Route::post('purchase_statement_export', [SellReportController::class, 'purchaseStatementExport']);//一级采购报表导出excel（新）
    Route::get('purchase_statement_export', [SellReportController::class, 'purchaseStatementExport']);//一级采购报表导出excel（新）
    Route::post('two_purchase_statement_export', [SellReportController::class, 'twoPurchaseStatementExport']);//二级采购报表导出excel（新）
    Route::get('two_purchase_statement_export', [SellReportController::class, 'twoPurchaseStatementExport']);//二级采购报表导出excel（新）
    Route::post('set_debt_reminder_time', [SellReportController::class, 'setDebtReminderTime']);//设置欠款提醒时间（新）

    Route::post('sell_statement_list', [SellReportController::class, 'sellStatementList']);//销售报表（最新）
    Route::post('sell_statement_export', [SellReportController::class, 'sellStatementExport']);//以物料名维度的销售报表导出excel（最新）
    Route::get('sell_statement_export', [SellReportController::class, 'sellStatementExport']);//以物料名维度的销售报表导出excel（最新）
    Route::post('sell_goods_statement_list', [SellReportController::class, 'sellGoodsStatementList']);//指定商品二级销售报表（最新）
    Route::post('sell_goods_statement_list_export', [SellReportController::class, 'sellGoodsStatementListExport']);//以物料名维度的二级销售报表导出excel（最新）
    Route::get('sell_goods_statement_list_export', [SellReportController::class, 'sellGoodsStatementListExport']);//以物料名维度的二级销售报表导出excel（最新）

    //退货
    Route::post('sales_return_list', [SalesReturnController::class, 'list']);
    Route::post('sales_return_add', [SalesReturnController::class, 'add']);
    Route::post('sales_return_find', [SalesReturnController::class, 'find']);//详细-with token
    Route::post('sales_return_edit', [SalesReturnController::class, 'edit']);
    Route::post('sales_return_repeal', [SalesReturnController::class, 'repeal']);//撤销
    Route::post('sales_return_in', [SalesReturnController::class, 'in']);//入库
    Route::post('sales_pay_history', [SalesReturnController::class, 'payHistory']);//退货单支付记录
    Route::post('sales_return_get_money', [SalesReturnController::class, 'getMoney']);//收款
    Route::post('sales_return_del', [SalesReturnController::class, 'del']);
    //报溢报损
    Route::post('overflow_breakage_add', [OverflowBreakageController::class, 'add']);
    Route::post('overflow_breakage_list', [OverflowBreakageController::class, 'index']);
    Route::post('overflow_breakage_detail', [OverflowBreakageController::class, 'detail']);
    Route::post('overflow_breakage_repeal', [OverflowBreakageController::class, 'repeal']);
    Route::post('overflow_breakage_del', [OverflowBreakageController::class, 'del']);
    //审批
    Route::post('check_agree_or_refund', [CheckController::class, 'agreeOrRefund']);

    //快递模板
    Route::post('add_express_templete', [ExpressTempleteController::class, 'add']);//新建快递模板
    Route::post('edit_express_templete', [ExpressTempleteController::class, 'edit']);//编辑快递模板
    Route::post('del_express_templete', [ExpressTempleteController::class, 'del']);//删除快递模板
    Route::post('express_templete_list', [ExpressTempleteController::class, 'list']);//快递模板列表
    Route::post('top_express_templete', [ExpressTempleteController::class, 'top']);//置顶
    Route::post('termini_express_templete_list', [ExpressTempleteController::class, 'termini']);//，目的地省份城市列表
    Route::post('express_templete_detail', [ExpressTempleteController::class, 'detail']);//详情
    Route::post('cancel_top_templete', [ExpressTempleteController::class, 'cancelTop']);//取消置顶
    Route::post('cancel_templete', [ExpressTempleteController::class, 'clear']);//一键清空快递模板

    //计算快递结果
    Route::post('add_calc_express', [ExpressTempleteController::class, 'addCalc']);//新建计算快递结果
    Route::post('edit_calc_express', [ExpressTempleteController::class, 'editCalc']);//修改计算快递结果
    Route::post('list_calc_express', [ExpressTempleteController::class, 'listCalc']);//计算快递结果列表
    Route::post('del_calc_express', [ExpressTempleteController::class, 'deCalc']);//删除计算快递结果
    Route::post('detail_calc_express', [ExpressTempleteController::class, 'detailCalc']);//详细-计算快递结果
    Route::post('calc_express_templete', [ExpressTempleteController::class, 'calc']);//计算快递费用结果
    Route::post('get_kuaidi_list', [ExpressTempleteController::class, 'kuaidiList']);//获取模板中已存在的快递列表
    Route::post('log_detail', [LogController::class, 'detail']);//操作记录详情
    Route::post('get_outIn_log_detail', [LogController::class, 'outInWarehouseLogDetail']);//同一条下出入库操作记录详情
    Route::post('cancel_storage_log', [LogController::class, 'cancelStorageLog']);//撤销直接出入库记录
    Route::post('cancel_direct_instorage', [LogController::class, 'cancelDirectInstorage']);//撤销直接入库
    Route::post('cancel_direct_outstorage', [LogController::class, 'cancelDirectOutstorage']);//撤销直接出库
    Route::post('old_log_list', [LogController::class, 'oldLogList']);//旧操作记录列表
    Route::post('upd_operation_num', [LogController::class, 'updOperationNum']);//修改出入库记录数量
    Route::post('cancel_old_log', [LogController::class, 'cancelOldLog']);
    Route::post('cancel_package_out', [LogController::class, 'cancelPackage']);//撤销套餐出库
    Route::post('log_shelf_info', [LogController::class, 'logShelfInfo']);//入库货架库位信息
    Route::post('chang_pwd', [UsersController::class, 'changePwd']);//主账号修改密码
    Route::post('open_storage_switch', [UsersController::class, 'autoStorageSwitch']);//开启自动出入库
    //快递识别
    Route::post('discriminate_express_code', [ExpressController::class, 'discriminateExpressCode']);//快递识别

    //公告
    Route::post('add_announce', [AnnounceController::class, 'add']);//新建
    Route::post('edit_announce', [AnnounceController::class, 'edit']);//编辑
    Route::post('del_announce', [AnnounceController::class, 'delete']);//删除公告
    Route::post('list_announce', [AnnounceController::class, 'list']);//公告列表
    Route::post('publish_announce', [AnnounceController::class, 'publish']);//发布公告

    //vip配置
    Route::post('vip_setting_list', [VipSettingController::class, 'index']);//列表
    Route::post('vip_setting_add', [VipSettingController::class, 'add']);//新增
    Route::post('vip_setting_edit', [VipSettingController::class, 'edit']);//列表
    Route::post('vip_setting_detail', [VipSettingController::class, 'detail']);//详情

    //zlf-图片画册
    Route::post('hc_add_picture_album',[PictureEditingController::class,'addPictureAlbum']);//添加图片画册
    Route::post('hc_del_upload_imgs',[PictureEditingController::class,'delAlbumImgs']);//删除图片画册图片
    Route::post('hc_upd_picture_album',[PictureEditingController::class,'updatePictureAlbum']);//修改图片画册信息
    Route::post('hc_picture_album_list',[PictureEditingController::class,'getPictureAlbumList']);//图片画册列表
    Route::post('hc_del_picture_album',[PictureEditingController::class,'delPictureAlbum']);//删除画册
    Route::post('hc_add_pic_label',[ImageLabelController::class,'addImageLabel']);//添加画册标签
    Route::post('hc_pic_label_list',[ImageLabelController::class,'getImageLabelList']);//画册标签列表
    Route::post('hc_upd_pic_label',[ImageLabelController::class,'updImageLabel']);//修改画册标签
    Route::post('hc_del_pic_label',[ImageLabelController::class,'delImageLabel']);//删除画册标签
    Route::post('hc_upload',[PictureEditingController::class,'upload']);//图片画册上传图片
    //zlf-文字画册
    Route::post('hc_add_text_img',[TextImageController::class,'addTextImage']);//添加文字画册
    Route::post('hc_del_text_image',[TextImageController::class,'delTextImage']);//删除文字画册
    Route::post('hc_upd_text_image',[TextImageController::class,'updateTextImage']);//修改文字画册
    Route::post('hc_text_image_list',[TextImageController::class,'getTextImageList']);//查询文字画册列表
    Route::post('hc_text_cover_music',[TextImageController::class,'updTextImageImgMusic']);//替换文字画册封面和背景音乐
    //zlf-文字画册内容模板
    Route::post('hc_add_text_temp',[TextImageTemplatesController::class,'addContentTempLate']);//添加文字画册内容模板
    Route::post('hc_upd_text_temp',[TextImageTemplatesController::class,'updateContentTempLate']);//修改文字画册内容模板
    Route::post('hc_text_temp_list',[TextImageTemplatesController::class,'getContentTempLateList']);//查询文字画册内容模板列表
    Route::post('hc_del_text_temp',[TextImageTemplatesController::class,'delContentTempLate']);//删除文字画册内容模板
    Route::post('hc_del_img_video',[TextImageTemplatesController::class,'delMaterialImgVideo']);//删除画册内容模板素材中图片
    Route::post('hc_text_temp_info',[TextImageTemplatesController::class,'getContentTempLateInfo']);//删除文字画册内容模板
    Route::post('hc_upd_img_video',[TextImageTemplatesController::class,'updMaterialImgVideo']);//更换画册内容模板素材中图片
    Route::post('hc_index',[PictureEditingController::class,'getImagesTextAlbumList']);//画册首页-显示图片画册和文字画册
    Route::post('hc_index_del',[PictureEditingController::class,'delIndexAlbum']);//删除首页画册
    Route::post('hc_file_upload',[HcUploadController::class,'upload']);//单个文件上传
    Route::post('hc_add_content_tags',[ContentTagsController::class,'addContentTags']);//添加文字画册内容标签
    Route::post('hc_upd_content_tags',[ContentTagsController::class,'updContentTags']);//修改文字画册内容标签
    Route::post('hc_del_content_tags',[ContentTagsController::class,'delContentTags']);//删除文字画册内容标签
    Route::post('hc_content_tags_list',[ContentTagsController::class,'getTagsRelationContentList']);//文字画册内容标签关联内容模板列表
    Route::post('edit_album_img_title',[AlbumImgTitleController::class,'edit']);//编辑画册图片标题
    //zlf-快递模板
    Route::post('import_express_templete',[CreateExpressTemplatesController::class,'importExpressTemplates']);//导入快递模板
    //zlf-发货单
    Route::post('add_dispatch_list',[DispatchListController::class,'add']);//添加发货单和商品
    Route::post('upd_dispatch_list',[DispatchListController::class,'update']);//修改发货单和商品
    Route::post('dispatch_list_info',[DispatchListController::class,'find']);//发货单信息
    Route::post('del_dispatch_list',[DispatchListController::class,'delete']);//删除发货单信息
    Route::post('del_dispatch_goods',[DispatchListController::class,'delGoods']);//删除发货单商品
    Route::post('get_dispatch_list',[DispatchListController::class,'dispatchList']);//发货单列表
    //zlf-送货单
    Route::post('add_delivery_ship',[DeliverySlipController::class,'add']);//添加送货单和商品
    Route::post('upd_delivery_ship',[DeliverySlipController::class,'update']);//修改送货单和商品
    Route::post('delivery_ship_info',[DeliverySlipController::class,'find']);//送货单信息
    Route::post('del_delivery_ship',[DeliverySlipController::class,'delete']);//删除送货单信息
    Route::post('del_delivery_goods',[DeliverySlipController::class,'delGoods']);//删除送货单商品
    Route::post('delivery_ship_list',[DeliverySlipController::class,'DeliverySlipList']);//送货单列表
    Route::post('delivery_goods_info',[DeliveryGoodsController::class,'find']);//送货单商品信息
    Route::post('delivery_goods_list',[DeliveryGoodsController::class,'goodsList']);//送货单商品列表
    //zlf-报价单
    Route::post('add_quotation_no',[QuotationNoController::class,'add']);//添加报价单和商品
    Route::post('upd_quotation_no',[QuotationNoController::class,'update']);//修改报价单和商品
    Route::post('quotation_no_info',[QuotationNoController::class,'find']);//报价单信息
    Route::post('del_quotation_no',[QuotationNoController::class,'delete']);//删除报价单信息
    Route::post('quotation_no_list',[QuotationNoController::class,'quotationNoList']);//报价单列表
    Route::post('quotation_goods_info',[QuotationGoodsController::class,'find']);//报价单商品信息
    Route::post('quotation_goods_list',[QuotationGoodsController::class,'goodsList']);//报价单商品列表
    Route::post('del_quotation_goods',[QuotationNoController::class,'delGoods']);//报价单商品删除
    Route::post('del_quotation_tags',[QuotationNoController::class,'delTags']);//删除报价单商品标签
    Route::post('upload_goods_img',[QuotationNoController::class,'uploadGoodsImg']);//上传商品图片（单个）
    //zlf-收据
    Route::post('add_receipt',[ReceiptController::class,'add']);//添加收据
    Route::post('upd_receipt',[ReceiptController::class,'update']);//修改收据
    Route::post('receipt_info',[ReceiptController::class,'find']);//收据信息
    Route::post('del_receipt',[ReceiptController::class,'delete']);//删除收据信息
    Route::post('receipt_list',[ReceiptController::class,'receiptList']);//收据表
    //zlf-医疗器械专用送货单
    Route::post('add_medical_delivery_order',[MedicalDeliveryOrderController::class,'add']);//添加医疗器械专用送货单和商品
    Route::post('upd_medical_delivery_order',[MedicalDeliveryOrderController::class,'update']);//修改医疗器械专用送货单和商品
    Route::post('medical_delivery_order_info',[MedicalDeliveryOrderController::class,'find']);//医疗器械专用送货单信息
    Route::post('del_medical_delivery_order',[MedicalDeliveryOrderController::class,'delete']);//删除医疗器械专用送货单信息
    Route::post('del_medical_delivery_goods',[MedicalDeliveryOrderController::class,'delGoods']);//删除医疗器械专用送货单商品
    Route::post('get_medical_delivery_list',[MedicalDeliveryOrderController::class,'MedicalDeliveryOrderList']);//医疗器械专用送货单列表
    //zlf-医疗器械专用发货单
    Route::post('add_medical_deliver_order',[MedicalDeliverOrderController::class,'add']);//添加医疗器械专用送货单和商品
    Route::post('upd_medical_deliver_order',[MedicalDeliverOrderController::class,'update']);//修改医疗器械专用送货单和商品
    Route::post('medical_deliver_order_info',[MedicalDeliverOrderController::class,'find']);//医疗器械专用送货单信息
    Route::post('del_medical_deliver_order',[MedicalDeliverOrderController::class,'delete']);//删除医疗器械专用送货单信息
    Route::post('del_medical_deliver_goods',[MedicalDeliverOrderController::class,'delGoods']);//删除医疗器械专用送货单商品
    Route::post('get_medical_deliver_list',[MedicalDeliverOrderController::class,'MedicalDeliverOrderList']);//医疗器械专用送货单列表
    //zlf-印章
    Route::post('add_seal',[SealManageController::class,'add']);//添加印章
    Route::post('upd_seal',[SealManageController::class,'update']);//修改印章
    Route::post('seal_manage_info',[SealManageController::class,'find']);//印章信息
    Route::post('del_seal',[SealManageController::class,'delete']);//删除印章信息
    Route::post('get_seal_list',[SealManageController::class,'sealList']);//印章表
    Route::post('get_dispatch_list',[DispatchListController::class,'dispatchList']);//发货单列表
    Route::post('get_select_goods',[DispatchListController::class,'selectGoods']);//选择物料商品
    Route::post('get_create_number',[DispatchListController::class,'createNumber']);//创建编号
    //zlf-一键生成画册
    Route::post('add_material_pic_album',[HcMaterielTypeController::class,'addHcMaterielType']);//一键生成商品画册
    Route::post('material_pic_album_list',[HcMaterielTypeController::class,'productPicAlbumList']);//商品画册列表
    Route::post('material_pic_album_info',[HcMaterielTypeController::class,'productPicAlbumInfo']);//商品信息列表
    Route::post('sel_album_goods',[HcMaterielTypeController::class,'selectGoods']);//选择商品
    Route::post('del_hc_class', [HcMaterielClassController::class, 'del']);//删除指定商品画册分类
    Route::post('edit_hc_class', [HcMaterielClassController::class, 'edit']);//修改指定商品画册分类信息
    Route::post('del_pic_album_goods', [HcMaterielTypeController::class, 'delGoods']);//删除商品画册商品信息
    Route::post('edit_pic_album_goods', [HcMaterielTypeController::class, 'updGoods']);//修改商品画册商品信息
    Route::post('del_pic_album', [HcMaterielTypeController::class, 'delPicAlbum']);//删除商品画册信息
    Route::post('edit_pic_album', [HcMaterielTypeController::class, 'editPicAlbum']);//修改商品画册信息
    //zlf-进出货统计
    Route::post('statistics_purchased_goods', [StatisticsController::class, 'statisticsPurchasedGoods']);//客户采购商品统计
    Route::post('statistics_goods_sold', [StatisticsController::class, 'statisticsGoodsSold']);//客户销售商品统计
    //zlf-存储空间
    Route::post('add_storage_space_choose',[BuyStorageSpaceController::class,'add']);//添加购买储存空间选项
    Route::post('edit_storage_space_choose',[BuyStorageSpaceController::class,'edit']);//修改购买储存空间选项
    Route::post('del_storage_space_choose',[BuyStorageSpaceController::class,'del']);//删除购买储存空间选项
    Route::post('storage_space_choose_list',[BuyStorageSpaceController::class,'list']);//购买储存空间选项列表
    Route::post('storage_space_choose_info',[BuyStorageSpaceController::class,'info']);//储存空间选项单条信息
    //zlf-盘点
    Route::post('get_storage_list',[CheckStorageManageController::class,'storageList']);//仓库列表
    Route::post('get_storage_goods_list',[CheckStorageManageController::class,'getStorageGoodsList']);//仓库商品列表
    Route::post('add_check_storage_data',[CheckStorageManageController::class,'addCheckStorageGoods']);//添加整仓盘点
    Route::post('upd_check_storage_data',[CheckStorageManageController::class,'updCheckStorageGoods']);//修改整仓盘点
    Route::post('get_read_batch_no',[CheckStorageManageController::class,'readBatchNo']);//通过批次号查询仓库商品信息（扫码）
    Route::post('get_check_storage_list',[CheckStorageManageController::class,'getCheckList']);//盘点记录
    Route::post('check_yk_goods_list',[CheckStorageManageController::class,'getCheckYkGoodsList']);//指定盈亏查询盘点商品列表
    Route::post('del_check_storage_data',[CheckStorageManageController::class,'delCheckStorageData']);//批量删除盘点数据
    Route::post('get_auto_storage_goods_list',[CheckStorageManageController::class,'autoStorageGoodsList']);//同步自动盘点库存商品列表
    Route::post('add_auto_storage_goods',[CheckStorageManageController::class,'addAutoStorageGoods']);//保存自动盘点库存商品
    //zlf-退货批次号列表
    Route::post('sales_return_batch_list',[SalesReturnController::class,'salesReturnBatchList']);//退货选择批次号列表
    Route::post('sales_return_add_batch',[SalesReturnController::class,'sellAddBatch']);//添加批次号
    //zlf-退货序列号
    Route::post('sales_return_serialnumber_list',[SalesReturnController::class,'salesReturnSerialNumber']);//退货选择序列号
    //zlf-一键清除发送验证码
    Route::post('get_main_phone',[StorageManageController::class,'getMainPhone']);//一键清除返回主账号手机号
    Route::post('get_one_clear_code',[StorageManageController::class,'getOneClearCode']);//一键清除发送验证码
    //zlf-留言板
    Route::post('add_mess_board_content',[MessBoardController::class,'addMessBoardContent']);//提交留言
    Route::post('split_keyword_list',[MessBoardController::class,'splitKeywordList']);//拆分关键词
    Route::post('mess_board_content_list',[MessBoardController::class,'messBoardContentList']);//留言内容列表
    Route::post('choose_user_account',[MessBoardController::class,'chooseUserAccount']);//选择员工账号
    Route::post('sel_goods_list',[MessBoardController::class,'selGoodsList']);//查询商品列表
    Route::post('add_bills',[MessBoardController::class,'addBills']);//生成单据（销售单、采购单）
    Route::post('is_new_board_content',[MessBoardController::class,'isNewBoardContent']);//留言新消息
    //zlf-标签管理
    Route::post('add_customtag', [CustomTagController::class, 'add']);//新建自定义标签
    Route::post('del_customtag', [CustomTagController::class, 'delete']);//删除自定义标签
    Route::post('edit_customtag', [CustomTagController::class, 'edit']);//修改自定义标签
    Route::post('customtag_list', [CustomTagController::class, 'customTagList']);//自定义标签列表
    Route::post('customtag_info', [CustomTagController::class, 'info']);//自定义标签信息
    Route::post('storage_log_list', [LogController::class, 'list']);//操作记录列表
    Route::post('get_data_preview', [StatisticsController::class, 'dataPreview']);//数据总览
    Route::post('materiel_storage_list', [StorageManageController::class, 'materielStorageList']);//商品库存及货架
    Route::post('choose_user_list', [AdminController::class, 'selUserList']);//选择负责人和员工列表
    //zlf-用户菜单
    Route::post('user_menu_info', [AdminController::class, 'userMenuInfo']);//用户菜单
    Route::post('edit_user_menu', [AdminController::class, 'editUserMenu']);//编辑用户菜单
    //zlf-客服与打印机购买管理
    Route::post('customer_service_edit', [CustomerServiceController::class, 'edit']);//编辑客服与打印机购买链接管理

    //zlf-主账号使用负数库存
    Route::post('edit_oper_main', [OperMainAccountController::class, 'edit']);//编辑账号使用负数库存
    Route::post('oper_main_list', [OperMainAccountController::class, 'info']);//查询账号使用负数库存信息
    Route::post('del_oper_main', [OperMainAccountController::class, 'del']);//删除账号使用负数库存信息
    //zlf-申请单
    Route::post('get_application_form_list',[ApplicationFormController::class,'getApplicationList']);//申请表列表
    Route::post('add_application_form',[ApplicationFormController::class,'addApplicationForm']);//添加申请表
    Route::post('check_application_form',[ApplicationFormController::class,'checkApplicationForm']);//审批申请单
    Route::post('del_application_form',[ApplicationFormController::class,'delApplicationForm']);//删除申请表
    Route::post('repeal_application_form',[ApplicationFormController::class,'repealApplicationForm']);//撤销申请表
    Route::post('application_form_info',[ApplicationFormController::class,'applicationFormInfo']);//申请表详情
    Route::post('application_form_confirm_receipt',[ApplicationFormController::class,'ApplicationFormConfirmReceipt']);//申请单确认收货
    Route::post('check_application_form_list',[ApplicationFormController::class,'checkApplicationList']);//申请表审批列表
    Route::post('in_application_goods_info',[ApplicationFormController::class,'inApplicationGoodsInfo']);//申请单商品入库详情
    Route::post('out_application_goods_info',[ApplicationFormController::class,'outApplicationGoodsInfo']);//申请单商品出库详情
    Route::post('upload_delivery_proof_img',[ApplicationFormController::class,'uploadDeliveryProofImg']);//上传交付凭证图片
    //zlf-员工出勤管理
    Route::post('admin_set_time',[EmployeeStatusController::class,'setTime']);//主账号设置/取消时间
    Route::post('get_time_list',[EmployeeStatusController::class,'getTimeList']);//主账号设置时间列表
    Route::post('add_absence_request',[EmployeeStatusController::class,'addAbsenceRequest']);//员工添加休息申请
    Route::post('rest_work_list',[EmployeeStatusController::class,'restWorkList']);//休息与工作人员列表
    Route::post('new_rest_info',[EmployeeStatusController::class,'newRestInfo']);//新的员工请假消息
    Route::post('employee_status_list',[EmployeeStatusController::class,'employeeStatusList']);//员式工作状态列表
    Route::post('see_more_list',[EmployeeStatusController::class,'seeMoreList']);//查看更多
    Route::post('agree_or_refuse',[EmployeeStatusController::class,'agreeOrRefuse']);//同意或拒绝
    Route::post('is_repeal',[EmployeeStatusController::class,'isRepeal']);//撤销
    //zlf-睡猫相册
    Route::post('add_sm_album',[SmPhotoAlbumController::class,'add']);//添加相册
    Route::post('upd_sm_album',[SmPhotoAlbumController::class,'edit']);//编辑相册
    Route::post('del_sm_album',[SmPhotoAlbumController::class,'del']);//删除相册
    Route::post('sm_album_list',[SmPhotoAlbumController::class,'list']);//相册列表
    Route::post('sm_album_info',[CommonsController::class,'smAlbumInfo']);//相册详情H5
    Route::post('sel_album_goods_img',[SmPhotoAlbumController::class,'selAlbumGoodsImg']);//选择相册商品列表
    //zlf-登录日志
    Route::post('get_account_info',[LoginLogController::class,'getAccountInfo']);//返回活跃人数和支付信息
    //zlf-仓库、货架、库位列表
    Route::post('stor_shelf_location_list', [StorageShelfLocationController::class, 'getList']);//仓库货架列表
    Route::post('del_stor_shelf_location', [StorageShelfLocationController::class, 'batchDel']);//批量删除仓库货架库位
    Route::post('upd_stor_shelf', [StorageShelfLocationController::class, 'shelfUpdate']);//修改货架
    Route::post('batch_upd_shelf_status', [StorageShelfLocationController::class, 'batchUpdShelfStatus']);//修改货架状态
    Route::post('get_shelf_location_list', [StorageShelfLocationController::class, 'getShelfLocaList']);//货架库位列表
    Route::post('upd_stor_location', [StorageShelfLocationController::class, 'updStorLocation']);//修改库位
    Route::post('location_out_in_goods_list', [StorageShelfLocationController::class, 'locationOutInGoodsList']);//库位出入库商品信息
    Route::post('transfer_shelf', [StorageShelfLocationController::class, 'transferShelf']);//货架转移
    Route::post('get_loca_log_List', [LocationLogController::class, 'logList']);//库位操作日志列表
    Route::post('add_loca_log', [LocationLogController::class, 'create']);//添加库位操作日志
    Route::post('upd_loca_log', [LocationLogController::class, 'upd']);//修改库位操作日志
    Route::post('del_loca_log', [LocationLogController::class, 'del']);//删除库位操作日志
    Route::post('loca_log_info', [LocationLogController::class, 'logInfo']);//库位操作日志详情
    Route::post('get_tag_list', [ShelfLocationTagController::class, 'getTagList']);//库位标签选择列表
    //zlf-货架、库位标签创建
    Route::post('add_shelf_location_tag', [ShelfLocationTagController::class, 'create']);//创建
    Route::post('del_shelf_location_tag', [ShelfLocationTagController::class, 'destroy']);//删除
    Route::post('upd_shelf_location_tag', [ShelfLocationTagController::class, 'update']);//修改
    Route::post('shelf_location_tag_info', [ShelfLocationTagController::class, 'show']);//查询信息
    Route::post('shelf_location_tag_list', [ShelfLocationTagController::class, 'index']);//列表
    //库位宠物管理
    Route::post('out_in_animal', [LocationAnimalController::class, 'outInAnimal']);//宠物出入库
    Route::post('upd_animal_info', [LocationAnimalController::class, 'update']);//修改
    Route::post('get_storage_animal_List', [LocationLogController::class, 'getStorageAnimalList']);//仓库下的宠物归档列表
    //宠物出库标签
    Route::post('add_out_animal_tag', [OutAnimalTagController::class, 'add']);//创建
    Route::post('upd_out_animal_tag', [OutAnimalTagController::class, 'update']);//修改
    Route::post('del_out_animal_tag', [OutAnimalTagController::class, 'del']);//删除
    Route::post('out_animal_tag_list', [OutAnimalTagController::class, 'list']);//列表
    Route::post('get_index_info', [StorageShelfLocationController::class, 'getIndex']);//首页展示
    //zlf 拼多多开放平台接口
    /*Route::get('pdd_get_seller_code', [PingDuoDuoAuthorizationController::class, 'pddSellerAuthorizationCode']);//获取商家授权code
    Route::post('pdd_get_seller_url', [PingDuoDuoOpenPlatformController::class, 'pddGetSellerUrl']);//获取商家授权地址
    Route::post('pdd_get_access_token', [PingDuoDuoOpenPlatformController::class, 'getAccessToken']);//获取token
    Route::post('pdd_logistics_companies_get', [PingDuoDuoOpenPlatformController::class, 'pddLogisticsCompaniesGet']);//快递查询接口
    Route::post('pdd_cloudprint_stdtemplates_get', [PingDuoDuoOpenPlatformController::class, 'pddCloudprintStdtemplatesGet']);//获取所有标准电子面单模板
    Route::post('pdd_goods_logistics_template_get', [PingDuoDuoOpenPlatformController::class, 'pddGoodsLogisticsTemplateGet']);//商品运费模版接口
    Route::post('pdd_goods_country_get', [PingDuoDuoOpenPlatformController::class, 'pddGoodsCountryGet']);//商品地区/国家接口
    Route::post('pdd_goods_add', [PingDuoDuoOpenPlatformController::class, 'pddGoodsAdd']);//商品新增接口
    Route::post('pdd_order_list_get', [PingDuoDuoOpenPlatformController::class, 'pddOrderListGet']);//订单列表查询接口（根据成交时间）
    Route::post('pdd_order_information_get', [PingDuoDuoOpenPlatformController::class, 'pddOrderInformationGet']);//订单详情
    Route::post('pdd_erp_order_sync', [PingDuoDuoOpenPlatformController::class, 'pddErpOrderSync']);//erp打单信息同步
    Route::post('pdd_order_status_get', [PingDuoDuoOpenPlatformController::class, 'pddOrderStatusGet']);//订单状态
    Route::post('pdd_order_note_update', [PingDuoDuoOpenPlatformController::class, 'pddOrderNoteUpdate']);//编辑商家订单备注
    Route::post('pdd_order_update_address', [PingDuoDuoOpenPlatformController::class, 'pdd.order.update.address']);//修改订单收件地址接口*/
    Route::post('get_qrcode', [AdminController::class, 'getQrcode']);//生成公众号二维码
    //出入库操作记录
    Route::post('del_import_storage_log', [LogController::class, 'delImportStorageLog']);//删除
    //出入库操作记录
    Route::post('storage_log_del', [LogController::class, 'logDel']);//删除

    //字段权限管理 zl
    Route::post('field_list',[DataFieldController::class,'FieldList']);//限制参数列表

    //微信支付 zl
    Route::any('wechat_pay',[OrderController::class,'WechatPay']);
     Route::any('handRecharge',[OrderController::class,'handRecharge']);
    Route::post('direct_in_storage_several', [StorageManageController::class, 'directInStorageSeveral']);//快速入库
    Route::post('direct_out_storage_several', [StorageManageController::class, 'directOutStorageSeveral']);//快速出库
    Route::post('serial_no_list', [StorageManageController::class, 'serialNoList']);//批次列表
    Route::post('create_batch_no_list', [StorageManageController::class, 'createBatchNoList']);//生成批次号列表
    Route::post('get_sync_price', [StorageManageController::class, 'getSyncPrice']);//同步价格
    //生产订单
    Route::post('product_add', [ProductController::class, 'add']);//新建
    Route::post('product_detail', [ProductController::class, 'detail']);//详细
    Route::post('product_del', [ProductController::class, 'del']);//删除
    Route::post('product_list', [ProductController::class, 'list']);//列表
    Route::post('product_cancel', [ProductController::class, 'cancel']);//撤销
    Route::post('product_add_again', [ProductController::class, 'again']);//重新下单
    Route::post('product_finished', [ProductController::class, 'finished']);//生产完成
    Route::post('product_fill_or_balance', [ProductController::class, 'fillOrBalance']);//生产补足或还仓
    Route::post('product_in_or_out', [ProductController::class, 'inOrOut']);//生产订单出入库
    Route::post('product_serial_select', [ProductController::class, 'productSerialSelect']);//生产订单序列号选择
    Route::post('product_return_storage_serial_select', [ProductController::class, 'productReturnStorageSerialSelect']);//套餐内商品套件返仓序列号列表
    Route::post('product_balance_list', [ProductController::class, 'balanceList']);//还库列表
    Route::post('product_schedule', [ProductController::class, 'productSchedule']);//生产进度
    Route::post('product_loss', [ProductController::class, 'productLoss']);//损耗

    //货架管理 zl
    Route::post('get_shelf',[ShelfController::class,'GetShelf']);//通过仓库获取货架及库位
    Route::post('shelf_create',[ShelfController::class,'ShelfCreate']);//添加货架
    Route::post('shelf_update',[ShelfController::class,'ShelfUpdate']);//修改货架
    Route::post('shelf_del',[ShelfController::class,'ShelfDel']);//删除货架
    Route::post('location_create',[LocationController::class,'LocationCreate']);//添加库位
    Route::post('location_update',[LocationController::class,'LocationUpdate']);//修改库位
    Route::post('location_del',[LocationController::class,'LocationDel']);//删除库位
    Route::post('shelf_list',[ShelfController::class,'ShelfList']);//货架列表
    Route::post('shelf_info',[ShelfController::class,'ShelfInfo']);//货架详情
    Route::post('location_list',[LocationController::class,'LocationList']);//库位列表
    Route::post('location_info',[LocationController::class,'LocationInfo']);//库位详情
    Route::post('wx_group_img_upload',[SystemConfigController::class,'wxqImgUpload']);
    Route::post('get_group_img_info',[SystemConfigController::class,'getWachatGroupImgInfo']);
    Route::post('shelf_location_add',[LocationController::class,'shelfLocationAdd']);//批量添加货架与库位
    Route::post('set_default_shelf_location',[ShelfController::class,'setDefaultShelfLocation']);//设置默认货架与库位
});

Route::group(['middleware'=>['enable_cross', 'check_is_upkeep']],function(){
    Route::any('wechat_order_notify', [NotifyController::class,'WechatNotify']);//微信订单回调
    Route::get('detail_sell_find', [CommonDetailController::class, 'sellFind']);
    Route::get('detail_sales_return_find', [CommonDetailController::class, 'salesReturnFind']);//退货单详细-without token
    Route::post('hc_content_tags_info',[ContentTagsController::class,'getContentTagsInfo']);//查询文字画册内容标签信息
    Route::post('hc_pic_label_info',[ContentTagsController::class,'getImageLabelInfo']);//查询画册标签信息
    Route::post('hc_picture_album_info',[ContentTagsController::class,'getPictureAlbumInfo']);//查询画册信息
    Route::post('hc_text_image_info',[ContentTagsController::class,'getTextImageInfo']);//查询文字画册信息
    Route::post('dispatch_info',[ContentTagsController::class,'dispatchListInfo']);//分享/打印查询发货单信息
    Route::post('delivery_info',[ContentTagsController::class,'deliverySlipInfo']);//分享/打印查询送货单信息
    Route::post('quotation_info',[ContentTagsController::class,'quotationNoInfo']);//分享/打印查询报价单信息
    Route::post('get_info',[ContentTagsController::class,'receiptInfo']);//分享/打印查询收据信息
    Route::post('medical_delivery_info',[ContentTagsController::class,'medicalDeliveryInfo']);//分享/打印查询医疗器械专用送货单信息
    Route::post('medical_deliver_info',[ContentTagsController::class,'medicalDeliverInfo']);//分享/打印查询医疗器械专用送货单信息
    Route::post('get_seal_info',[ContentTagsController::class,'sealInfo']);//分享/打印查询印章信息
    Route::post('get_goods_album_list',[ContentTagsController::class,'productPicAlbumList']);//分享商品画册信息

    Route::post('read_goods_id_info',[CommonDetailController::class,'readGoodsIdInfo']);

    //设置
    Route::post('set_experience_days', [SystemConfigController::class, 'setExperience']);//设置体验天数
    Route::post('get_experience_days', [SystemConfigController::class, 'getExperience']);//获取体验天数
    Route::post('set_is_upkeep', [SystemConfigController::class, 'isUpkeep']);//设置体验天数
    Route::post('set_switch', [SystemConfigController::class, 'set']);//设置开关
    Route::post('get_switch', [SystemConfigController::class, 'get']);//获取开关
    Route::post('get_is_upkeep', [SystemConfigController::class, 'getIsUpkeep']);//获取系统维护信息
    Route::post('new_announce', [CommonController::class, 'newAnnounce']);//最新公告
    Route::post('reset_experience_vip', [SystemConfigController::class, 'resetExperVip']);//重置体验VIP
    //用户和图片管理-zlf
    Route::post('get_user_list', [SystemSettingsController::class, 'getUserList']);//用户列表
    Route::post('get_user_manage_list', [SystemSettingsController::class, 'getUserManageList']);//用户管理列表
    Route::post('set_deblocking_forbid', [SystemSettingsController::class, 'setUserDeblockingForbid']);//用户解封和禁止开关
    Route::post('get_images_list', [SystemSettingsController::class, 'getImagesList']);//用户上传图片列表
    Route::post('audit_images_pass', [SystemSettingsController::class, 'auditImagesPass']);//审核图片通过
    Route::post('set_label_user', [SystemSettingsController::class, 'setLabelUser']);//设置标记用户
    Route::post('del_label_user', [SystemSettingsController::class, 'delLabelUser']);//取消标记用户
    Route::post('get_label_user_list', [SystemSettingsController::class, 'getLabelUserList']);//设置标记用户列表
    Route::post('get_Illegal_goods_img_List', [SystemSettingsController::class, 'getIllegalGoodsImgList']);//违规用户商品图片列表
    //帮助
    Route::post('help_list', [HelpController::class, 'index']);
    Route::post('help_find', [HelpController::class, 'find']);
    Route::get('help_find/{id}', [HelpController::class, 'getFind']);
    Route::post('help_find_safe_privacy', [HelpController::class, 'findSafePrivacy']);//安全隐私查询
    Route::post('help_add', [HelpController::class, 'add']);
    Route::post('help_edit', [HelpController::class, 'edit']);
    Route::post('help_del', [HelpController::class, 'del']);
    Route::post('help_open_time', [HelpController::class, 'timeCount']);//打开次数
    Route::get('materiel_detail_common', [CommonDetailController::class, 'materielDetail']);//采购详细-no token

    //H5页面
    Route::get('class_detail', [CommonDetailController::class, 'classDetail']);//分类详细-no token
    Route::get('inventory_detail', [CommonDetailController::class, 'inventoryDetail']);//库存详细-no token
    Route::post('get_spill_breakage_info', [CommonController::class, 'getSpillBreakageInfo']);//无token报溢报损详情
    Route::get('get_check_goods_list',[CommonDetailController::class,'getCheckGoodsList']);//查询盘点商品H5
    Route::post('get_tally_find', [CommonDetailController::class, 'getTallyFind']);//记账-no token
    Route::get('product_detail_common', [CommonDetailController::class, 'productDetail']);//生产订单详细-no token
    Route::get('get_batch_info', [CommonDetailController::class, 'getBatchInfo']);//批次详情-no token
    Route::get('get_serial_number_info', [CommonDetailController::class, 'getSerialNumberInfo']);//序列号详情-no token
    Route::get('get_storage_location_info', [CommonDetailController::class, 'getStorageLocationInfo']);//库位详情-no token
    Route::get('get_goods_detail', [CommonDetailController::class, 'getGoodsDetail']);//商品详情-no token
    Route::get('get_application_form_info',[CommonsController::class,'getApplicationFormInfo']);//申请表详情H5
    /**
     * 导出
     */
    Route::get('storage_manage_export', [CommonsController::class, 'storageManageExport']);//库存导出
    Route::get('check_storage_manage_export', [CommonsController::class, 'batchCheckInventoryExport']);//盘点记录导出
    Route::get('batch_check_inventory_export', [CommonsController::class, 'batchCheckInventoryExport']);//盘点记录批量导出
    Route::get('storage_log_export', [CommonsController::class, 'storageStartExport']);//出入库记录导出
    Route::post('log_import', [CommonsController::class, 'logImport']);//出入库记录导入
    Route::post('shelf_location_import', [CommonsController::class, 'shelfLocationImport']);//货架库位导入
    Route::get('materiel_export', [CommonsController::class, 'materielExport']);//采购报表导出
    Route::get('sell_export', [CommonsController::class, 'sellExport']);//销售导出
    Route::get('sales_retrun_export', [CommonsController::class, 'salesReturnExport']);//退货记录导出
    Route::get('goods_pcrchase_export', [CommonsController::class, 'goodsPurchaseExport']);//商品采购表导出
    Route::get('statistics_goods_sold_export', [CommonsController::class, 'statisticsGoodsSoldExport']);//已销售的商品统计导出
    Route::get('statement_sell_export', [CommonsController::class, 'statementSellExport']);//销售报表导出
    Route::get('cost_statement_export', [CommonsController::class, 'costStatementExport']);//成本报表导出
    Route::get('income_expenditure_export', [CommonsController::class, 'incomeExpenditureExport']);//支出和收入明细表导出
    Route::get('inventory_statistics_export', [CommonsController::class, 'inventoryStatisticsExport']);//库存统计表导出
    Route::get('statement_storage_export', [CommonsController::class, 'statementStorageExport']);//仓库统计表导出
    Route::get('statement_customer_export', [CommonsController::class, 'statementCustomerExport']);//客户统计表导出
    Route::get('tall_list_export', [CommonsController::class, 'tallyListExport']);//记账单列表导出
    Route::get('overflow_breakage_export', [CommonsController::class, 'overflowBreakageExport']);//报损记录导出
    Route::get('export_express_templete',[CreateExpressTemplatesController::class,'exportExpressTemplates']);//导出快递模板
    Route::get('sell_goods_buy_customer_export', [CommonsController::class, 'sellGoodsBuyCustomerExport']);//已售商品统计-客户购买详情列表导出
    Route::get('materiel_class_export', [CommonsController::class, 'materielClassExport']);//分类导出
    Route::post('goods_class_import', [CommonsController::class, 'goodClassImport']);//物料分类导入
    Route::get('barter_return_export', [CommonsController::class, 'barterReturnExport']);//退换货表导出
    Route::get('statement_customer_detail_export', [CommonsController::class, 'statementCustomerDetailExport']);//客户销售统计-客户统计详情导出
    Route::get('client_goods_sold_export', [CommonsController::class, 'clientGoodsSoldExport']);//客户销售商品统计导出
    Route::get('client_goods_purchase_export', [CommonsController::class, 'clientGoodsPurchaseExport']);//客户采购商品统计导出
    Route::get('animal_in_out_export', [CommonsController::class, 'animalInOutExport']);//动物出入库记录
    Route::post('get_notoken_animal_tag_list', [CommonsController::class, 'getNoTokenAnimalTagList']);//无token动物标签列表
    Route::post('get_notoken_shelf_location_list', [CommonsController::class, 'getNoTokenShelfLocationList']);//无token柜子盒子列表
    Route::get('out_in_goods_export', [CommonsController::class, 'outInGoodsExport']);//出入库商品记录导出

    //绑定公众号微信
    Route::get('gz_wechat_bind', [CommonsController::class, 'gzWechatBind']);//绑定公众号微信
    //户外运动网站-zlf
    Route::post('add_index', [SportController::class, 'AddIndex']);//添加首页
    Route::post('upd_index', [SportController::class, 'updIndex']);//修改首页
    Route::post('get_index', [SportController::class, 'index']);//查询首页信息
    Route::post('add_menu', [SportController::class, 'addMenu']);//添加菜单
    Route::post('upd_menu', [SportController::class, 'updMenu']);//修改菜单
    Route::post('del_menu', [SportController::class, 'delMenu']);//删除菜单
    Route::post('menu_list', [SportController::class, 'menuList']);//菜单列表
    Route::post('sport_send_code', [SportController::class, 'sendCode']);//咨询时，发送验证码
    Route::post('add_question', [SportController::class, 'addQuestion']);//添加咨询信息
    Route::post('upd_question', [SportController::class, 'updQuestion']);//审核咨询信息
    Route::post('question_list', [SportController::class, 'questionList']);//咨询信息列表
    Route::post('sport_upload', [SportController::class, 'upload']);//户外运动网站上传图片
    Route::get('sport_del_cache', [SportController::class, 'delCache']);//清缓存
    //抖音服务平台-zlf
    Route::post('douyin_component_ticket', [DouYinServicePlatformController::class, 'componentTicket']);//接收抖音服务平台component_ticket
});

/**
 * 云打印服务接口
 */
Route::group(['middleware'=>['check_is_upkeep', 'enable_cross']],function() {
    Route::post('cloud_device_add', [CloudController::class, 'deviceAdd']);//添加云盒设备
    Route::post('cloud_device_edit', [CloudController::class, 'deviceEdit']);//编辑云盒设备
    Route::post('cloud_device_del', [CloudController::class, 'deviceDel']);//删除云盒设备
    Route::post('cloud_device_list', [CloudController::class, 'deviceList']);//云盒设备列表页
    Route::post('cloud_device_sync', [CloudController::class, 'deviceSync']);//云盒状态同步
    Route::post('cloud_device_printer_list', [CloudController::class, 'devicePrinterList']);//云盒打印机列表页
    Route::post('cloud_device_list_admin', [CloudController::class, 'deviceListAdmin']);//云盒设备列表页（管理员）
    Route::post('cloud_device_check_admin', [CloudController::class, 'deviceCheckAdmin']);//云盒审核（管理员）
    Route::post('cloud_printer_job_add', [CloudController::class, 'printerJobAdd']);//添加打印机任务
    Route::post('cloud_printer_job_list', [CloudController::class, 'printerJobList']);//打印任务列表
    Route::post('cloud_printer_job_del', [CloudController::class, 'printerJobDel']);//打印任务删除
    Route::post('cloud_printer_job_detail', [CloudController::class, 'printerJobDetail']);//打印任务详情
    Route::post('cloud_printer_config', [CloudController::class, 'printerConfig']);//打印配置参数
});
